Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: handle potential undefined item in chart.tsx #4219

Closed

Conversation

fraineralex
Copy link

Add optional chaining to avoid TypeScript error when item is undefined in the key generation in Chart component.

Closes #4218

Copy link

vercel bot commented Jul 8, 2024

@fraineralex is attempting to deploy a commit to the shadcn-pro Team on Vercel.

A member of the Team first needs to authorize it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[bug]: Chart component doesn't handle undefined item in key generation
1 participant